<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加测试模板和题库</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">添加测试模板和题库</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>http://192.168.0.89:8080/portal/site/%7Etest</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : My Workspace : Home</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[2]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Discussion 1 SMPL202 Summer 2007 : 主页</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[8]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Discussion 1 SMPL202 Summer 2007 : Tests & Quizzes</td>
	<td></td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Assessment Types</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>templateListForm:editDataTable:3:editlink</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>relative=up</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Assessment Types</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>templateCreateForm:tempName</td>
	<td>train</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>templateCreateForm:Submit</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Open</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Close</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Open</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>templateEditorForm:author</td>
	<td>test</td>
</tr>
<tr>
	<td>type</td>
	<td>templateEditorForm:_id23_textinput</td>
	<td>test</td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:authors</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:authors</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:authors</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:authors</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:authors</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:secondary_id_pw</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:allow_only_specified_ip</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:allow_only_specified_ip</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:secondary_id_pw</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:_id48</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>templateEditorForm:submissions_allowed</td>
	<td>2</td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:_id83</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:select_feedback_comp</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>templateEditorForm:select_feedback_comp</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>templateEditorForm:Submit</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>relative=up</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Question Pools</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>questionpool:add</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>questionpool:namefield</td>
	<td>math pool</td>
</tr>
<tr>
	<td>type</td>
	<td>questionpool:descfield</td>
	<td>math</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>questionpool:submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>questionpool:import</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>importPoolForm:_id6.upload</td>
	<td>C:\Documents and Settings\Administrator\桌面\winky.html</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>importPoolForm:_id7</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>questionpool:TreeTable:0:poolnametext</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>editform:addq</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>_id1:selType</td>
	<td>label=多项选择</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>_id1:_id10</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:answerptr</td>
	<td>2</td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:_id61_textinput</td>
	<td>what is 3 and 5?</td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:mcchoices:0:_id124_textinput</td>
	<td>8</td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:mcchoices:1:_id124_textinput</td>
	<td>4</td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:mcchoices:2:_id124_textinput</td>
	<td>5</td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:mcchoices:3:_id124_textinput</td>
	<td>6</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>itemForm:_id176</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>relative=up</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Assessment Types</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//a[2]/span</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>removeTemplateForm:remove</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>templateCreateForm:poolLink</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=id('questionpool:TreeTable:0:removeCheckbox')/tbody/tr/td/label/input</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>questionpool:Submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>removePoolForm:Submit</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>relative=up</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[1]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : Discussion 1 SMPL202 Summer 2007 : 主页</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
